package com.ruoyi.project.propertySystem.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 站点巡检模板对象 station_inspect_formwork
 * 
 * @author zcy
 * @date 2021-01-18
 */
public class StationInspectFormwork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 主键id */
    private Long areaId;

    /** 主键id */
    private Integer isStation;

    /** 站点id */
    @Excel(name = "站点id")
    private Long stationId;

    /** 站点id */
    @Excel(name = "站点id")
    private String stationcode;

    /** 站点id */
    @Excel(name = "站点名称")
    private String stationname;

    /** 模板id */
    @Excel(name = "模板id")
    private Long formworkId;

    /** 模板id */
    @Excel(name = "模板名称")
    private String formworkName;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifyBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModify;

    private List<Long> stationIds;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }

    public String getStationcode() {
        return stationcode;
    }

    public void setStationcode(String stationcode) {
        this.stationcode = stationcode;
    }

    public void setFormworkId(Long formworkId)
    {
        this.formworkId = formworkId;
    }

    public Long getFormworkId() 
    {
        return formworkId;
    }
    public void setModifyBy(String modifyBy)
    {
        this.modifyBy = modifyBy;
    }

    public String getModifyBy()
    {
        return modifyBy;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setGmtModify(Date gmtModify) 
    {
        this.gmtModify = gmtModify;
    }

    public Date getGmtModify() 
    {
        return gmtModify;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getStationname() {
        return stationname;
    }

    public void setStationname(String stationname) {
        this.stationname = stationname;
    }

    public String getFormworkName() {
        return formworkName;
    }

    public void setFormworkName(String formworkName) {
        this.formworkName = formworkName;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public Integer getIsStation() {
        return isStation;
    }

    public void setIsStation(Integer isStation) {
        this.isStation = isStation;
    }

    public List<Long> getStationIds() {
        return stationIds;
    }

    public void setStationIds(List<Long> stationIds) {
        this.stationIds = stationIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationId", getStationId())
            .append("formworkId", getFormworkId())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("modifyBy", getModifyBy())
            .append("gmtCreate", getGmtCreate())
            .append("gmtModify", getGmtModify())
            .toString();
    }
}
